package com.igeek.collateral.mapper;

import com.igeek.collateral.entity.Assess;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 评估报告 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-07-04
 */
public interface AssessMapper extends BaseMapper<Assess> {
    @Select("select * from assess where agency_id=#{id} ")
    public List<Assess> selectByAgencyId(Long id);
    @Delete("delete * from assess where agency_id=#{id} ")
    public List<Assess> deleteByAgencyId(Long id);
}
